﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace CodeStash.Addin.Core
{
    public interface INotifyDataErrorInfo
    {
        object EntityError
        {
            get;
        }

        bool HasErrors
        {
            get;
        }

        IEnumerable GetErrors(string propertyName);

        event EventHandler<DataErrorsChangedEventArgs> ErrorsChanged;
    }
}
